package com.guijq.design.command.remote.commandimpl;

import com.guijq.design.command.remote.Command;
import com.guijq.design.command.remote.controlobj.Light;

/**
 * @author yangjf
 * @version 0.1.0
 * @time 2018/10/23/023
 */
public class LightOffCommand implements Command {
    Light light;

    public LightOffCommand(Light light) {
        this.light = light;
    }

    @Override
    public void execute() {
        light.off();
    }
}
